
#include "MyTask.h"
#include "MyThread.h"
#include "Task.h"
#include <myheader_c_plus.h>
#include <memory>
using std::unique_ptr;
int main(int argc, char *argv[])
{
    unique_ptr<Task> mytask(new MyTask);
    MyThread th(mytask.get());
    th.start();
    th.join();


    return 0;
}

